home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World Komputer 2007 December
/
PCWKCD1207B.iso
/
Blogowanie poza sfera
/
Flock 0.9.1.3 stable
/
flock-0.9.1.3.en-US.win32.exe
/
flock
/
res
/
detect
/
piczo.xml
< prev
next >
Wrap
Extensible Markup Language
|
2007-10-12
|
4KB
|
140 lines
<?xml version="1.0" encoding="utf-8"?>
<service name="piczo"
version="$Id: piczo.xml 14659 2007-09-06 18:11:54Z mlise $"
xmlns="http://www.flock.com/web-detective#">
<strings>
<string name="domains"><![CDATA[piczo.com]]></string>
<string name="sessioncookie"><![CDATA[JSESSIONID]]></string>
<string name="mainpage">
<![CDATA[http://www.piczo.com/]]>
</string>
<string name="favicon">
<![CDATA[http://www.piczo.com/favicon.ico]]>
</string>
<string name="userlogin">
<![CDATA[http://pic2.piczo.com/go/login]]>
</string>
<string name="userprofile">
<![CDATA[http://%accountid%.piczo.com/]]>
</string>
<string name="api-agent-string"><![CDATA[Flock]]></string>
<string name="api-setup-URL">
<![CDATA[http://api.piczo.com/api-1/setup]]>
</string>
<string name="api-login-URL">
<![CDATA[http://api.piczo.com/api-1/login]]>
</string>
<string name="api-lookup-URL">
<![CDATA[http://api.piczo.com/api-1/lookup]]>
</string>
<string name="api-logout-URL">
<![CDATA[http://api.piczo.com/api-1/logout]]>
</string>
<string name="api-friends-URL">
<![CDATA[http://api.piczo.com/api-1/friends]]>
</string>
</strings>
<sessioncookies>
<cookie host=".piczo.com" name="up" path="/" />
<cookie host=".piczo.com" name="fs" path="/" />
<cookie host=".piczo.com" name="pvc" path="/" />
<cookie host=".piczo.com" name="JSESSIONID" path="/" />
</sessioncookies>
<detect type="signup">
<url domain="piczo.com">
<path contains="go/signup" />
</url>
<form>
<field name="username" extract="value" />
<field name="password" extract="value" />
</form>
</detect>
<detect type="login">
<conditions>
<url domain="piczo.com"/>
<form>
<xpath><![CDATA[[@name="loginform1"]]]></xpath>
</form>
</conditions>
<results>
<xpath name="username" extract="value">
<![CDATA[//div[@id="login"]//input[@name="username"]]]>
</xpath>
<xpath name="password" extract="value">
<![CDATA[//div[@id="login"]//input[@type="password"][@name="password"]]]>
</xpath>
</results>
</detect>
<detect type="loggedin">
<xpath><![CDATA[//head/meta[@name="piczo-subject"]]]></xpath>
<xpath><![CDATA[//head/meta[@name="piczo-session"][@content="y"]]]></xpath>
</detect>
<detect type="loggedout">
<xpath><![CDATA[//div[@id="top_nav"]//a[contains(@href,"piczo.com/go/signup")]]]></xpath>
</detect>
<detect type="loggedout">
<url><path contains="go/login"/></url>
<xpath><![CDATA[//div[@id="login"]]]></xpath>
</detect>
<detect type="loggedout">
<cookie nomatch="true" host=".piczo.com" name="up"/>
<cookie nomatch="true" host=".piczo.com" name="fs"/>
<cookie nomatch="true" host=".piczo.com" name="pvc"/>
</detect>
<detect type="accountinfo">
<conditions>
<xpath><![CDATA[//head/meta[@name="piczo-subject"]]]></xpath>
</conditions>
<results>
<xpath name="piczo_guid" extract="attribute:content">
<![CDATA[//head/meta[@name="piczo-subject"]]]>
</xpath>
<regexp re1="username">
<![CDATA[/var previewURL = "http:\/\/pic.+\.piczo\.com\/(.+)\/\?preview/]]>
</regexp>
<xpath>
<![CDATA[//div[@id="myUrl"]/text()]]>
<regexp re1="profileURL">
<![CDATA[/(http....+\.piczo\.com)/]]>
</regexp>
</xpath>
</results>
</detect>
<detect type="avatar">
<xpath name="avatarURL" extract="attribute:src">
<![CDATA[//img[@id="currentProfilePic"]]]>
</xpath>
</detect>
<detect type="webedit">
<regexp re1="pageid">
<![CDATA[/var pageID = "([^"]*)"/]]>
</regexp>
</detect>
<detect type="piczoedit">
<url><path contains="go/albumeditor"/></url>
</detect>
<detect type="piczoedit">
<url><path contains="go/pageeditor"/></url>
</detect>
<detect type="piczoImageID">
<regexp re1="imageID">
<![CDATA[/[^"]*\/i([0-9_]*)_([0-9_]*)_([0-9]*)\.[a-z]{2,4}/]]>
</regexp>
</detect>
</service>